package com.example.day02.utils;

public class URLUtils {
    //星座配对网址
    private static String parnterURL="http://apis.juhe.cn/xzpd/query";
    public static String getParnterURL(String man,String woman){
        String msg = "?men="+man+"&women="+woman+"&key=4bac12a68e30790c2cafed7aa526c08f";
        String URL = parnterURL +msg;
        return URL;
    }
    //星座运势网址
    private static String luckUrl="http://web.juhe.cn:8080/constellation/getAll";
    public static String getLuckUrl(String star){
        String msg="?consName="+star+"&type=year&key=ff16e1f409edde85eb9876cc02708d22";
        String URL=luckUrl+msg;
        return URL;
    }
}
